#include <stdio.h>

int main(){
  FILE *fp=fopen("log.txt","w");
  if(NULL==fp){
    perror("fopen");
    return 1;
  }
  fprintf(fp,"hello,%s,%d\n","gf",1234);
  fclose(fp);
  return 0;
}
